//
//  WeiXinManager.h
//  6p
//
//  Created by weienjie on 15/3/3.
//  Copyright (c) 2015年 fenfen. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "WXApi.h"

#define WX_AppID    @"wxadf8311f1e2659ff"
#define WX_AppSecret    @"7420a4c9a958b76975c35ff97016a860"


@interface WeiXinManager : NSObject

+ (BOOL)wxlogin;

+ (void)setWxlogin:(BOOL)login;

+ (void)getAccess_tokenWithCode:(NSString *)code;


/**
 *  检测是否有安装微信客户端
 */
+ (BOOL)isWXAppInstalled;

/**
 *  微信登录
 */
+ (void)weixinLogin;

/**
 *  微信登出
 */
+ (void)weixinLogout;

/**
 *  微信自动登录
 */
+ (void)weixinAutoLogin;

@end
